From: Wei Liu Date: Mon, 13 Jun 2016 07:49:12 +0000 (+0100) Subject: ocaml/libxs: generate a paths.ml X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~921 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=33bcbdb3300185d13ee527602072c60612227698;p=xen.git ocaml/libxs: generate a paths.ml Signed-off-by: Wei Liu Acked-by: David Scott --- diff --git a/.gitignore b/.gitignore index 8e0a1771c5..5914bbe7fe 100644 --- a/.gitignore +++ b/.gitignore @@ -348,6 +348,7 @@ tools/ocaml/libs/xl/xenlight.mli tools/ocaml/libs/xentoollog/_xtl_levels.* tools/ocaml/libs/xentoollog/xentoollog.ml tools/ocaml/libs/xentoollog/xentoollog.mli +tools/ocaml/libs/xs/paths.ml tools/ocaml/xenstored/oxenstored tools/ocaml/xenstored/oxenstored.conf tools/ocaml/xenstored/paths.ml diff --git a/tools/ocaml/libs/xs/Makefile b/tools/ocaml/libs/xs/Makefile index 7a3d886d7b..572efb76c4 100644 --- a/tools/ocaml/libs/xs/Makefile +++ b/tools/ocaml/libs/xs/Makefile @@ -11,7 +11,7 @@ OCAMLOPTFLAGS += -for-pack Xenstore PREINTF = xsraw.cmi xst.cmi PREOBJS = queueop xsraw xst PRELIBS = $(foreach obj, $(PREOBJS),$(obj).cmo) $(foreach obj,$(PREOJBS),$(obj).cmx) -OBJS = queueop xsraw xst xs +OBJS = paths queueop xsraw xst xs INTF = xsraw.cmi xst.cmi xs.cmi LIBS = xenstore.cma xenstore.cmxa @@ -45,3 +45,7 @@ uninstall: include $(TOPLEVEL)/Makefile.rules +genpath-target = $(call buildmakevars2module,paths.ml) +$(eval $(genpath-target)) + +GENERATED_FILES += paths.ml